package com.justenholter.text.effects {
	
	public interface IEffect {
		
		/**
		 * Returns the first interation of the effect.
		 * 
		 * @param	curText		The current text.
		 * @param	newText		The target text.
		 * 
		 * @return	The first iteration of the effect.
		 */
		function init(curText:String, newText:String):String;
		
		/**
		 * Returns the next interation of the effect.
		 * 
		 * @param	curText		The current text.
		 * @param	newText		The target text.
		 * 
		 * @return	The next iteration of the effect.
		 */
		function next(curText:String, newText:String):String;
	}
}    